home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 July / EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso / lightwave / lwmlist / 95.lightwave-07 / 000326_owner-lightwav…bcom.webcom.com_Tue Jul 18 23:01:07 1995.msg < prev    next >
Internet Message Format  |  1995-08-06  |  3KB

  1. Received: by webcom.webcom.com
  2.     (1.37.109.15/16.2) id AA247423667; Tue, 18 Jul 1995 23:01:07 -0700
  3. Return-Path: <owner-lightwave@webcom.webcom.com>
  4. Received: from access1.digex.net by webcom.com with ESMTP
  5.     (1.37.109.15/16.2) id AA247343661; Tue, 18 Jul 1995 23:01:01 -0700
  6. Received: (from erniew@localhost) by access1.digex.net (8.6.12/8.6.12) id CAA23067 ; for ; Wed, 19 Jul 1995 02:05:58 -0400
  7. Date: Wed, 19 Jul 1995 02:05:57 -0400 (EDT)
  8. From: Ernie Wright <erniew@access.digex.net>
  9. To: lightwave@webcom.webcom.com
  10. Subject: Re: Scaling the universe
  11. In-Reply-To: <9507181339.AA18418@itgmsm>
  12. Message-Id: <Pine.SUN.3.91.950719020451.23035B-100000@access1.digex.net>
  13. Mime-Version: 1.0
  14. Content-Type: TEXT/PLAIN; charset=US-ASCII
  15. Sender: owner-lightwave@webcom.webcom.com
  16. Precedence: bulk
  17.  
  18. Concerning the limited precision of digital floating point numbers,
  19. thomaskr@microsoft.com wrote:
  20.  
  21. > The following issue is being discussed regarding the Reality Labs
  22. > Rendermorphics system.  I'm curious as to whether or not any LW user
  23. > may have come accross a similar problem?  I've allready thought of
  24. > an alternative solution (which only visually solves the problem).
  25. > Any advice?
  26.  
  27. Try not to worry about it.  Unless you're modeling or animating at
  28. astronomical or nuclear scales (the film Powers of Ten comes to mind),
  29. you aren't very likely to come across real animation situations in
  30. which limited precision is going to be a big issue.
  31.  
  32. If you want to see limited precision in action, try this.  In Modeler,
  33. create the planet Pluto as a sphere with a radius of 1.55 meters and a
  34. center at (5870000, 0, 0) meters.  Use a large number of polygons, say
  35. 48 sides and 24 segments, just to convince yourself that you're not
  36. looking at a low polygon count kind of ugliness.  After creating Pluto,
  37. hit "a" to center it in all three views.
  38.  
  39. How do you avoid this?  Well, just don't do it.  You can divide the
  40. biggest distance in your scene by the smallest distance, and if the
  41. result is bigger than, oh, a million, you might get in trouble.  In the
  42. case of Pluto, the coordinates need to be accurate to at most 50 mm in
  43. order for it to look spherical, so the spread is
  44.  
  45.    5,870,000 / 0.05 = 117,400,000.
  46.  
  47. The obvious solution is to move Pluto a lot closer to the sun.  Your
  48. audience certainly won't be able to tell the difference.
  49.  
  50. - Ernie
  51.  
  52. --
  53. Ernie Wright <erniew@access.digex.net> sent this message.
  54. To Post a Message           : lightwave@webcom.com
  55. Un/Subscription Requests To : lightwave-request@webcom.com
  56. (DIGEST)                 or : lightwave-digest-request@webcom.com
  57. Administrative Items To     : owner-lightwave@webcom.com